list1 = [
    ('xiaoming', 20, ('student', 'beijing')),
    ('xiaozhang', 30, ('teacher', 'shanghai')),
    ('xiaowang', 25, ('doctor', 'shenzhen')),
    ('xiaohong', 40, ('leader', 'guangzhou'))
]
for name, age, (job, city) in list1:
    print(f'姓名是{name}| 年龄是{age}| 信息是{job, city}')
